package com.ruoyi.stuinfo.mapper;

import java.util.List;
import com.ruoyi.stuinfo.domain.EduCommunication;

/**
 * 沟通记录Mapper接口
 *
 * @author zc
 * @date 2025-05-15
 */
public interface EduCommunicationMapper
{
    /**
     * 查询沟通记录
     *
     * @param id 沟通记录主键
     * @return 沟通记录
     */
    public EduCommunication selectEduCommunicationById(Long id);

    /**
     * 查询沟通记录列表
     *
     * @param eduCommunication 沟通记录
     * @return 沟通记录集合
     */
    public List<EduCommunication> selectEduCommunicationList(EduCommunication eduCommunication);

    /**
     * 新增沟通记录
     *
     * @param eduCommunication 沟通记录
     * @return 结果
     */
    public int insertEduCommunication(EduCommunication eduCommunication);

    /**
     * 修改沟通记录
     *
     * @param eduCommunication 沟通记录
     * @return 结果
     */
    public int updateEduCommunication(EduCommunication eduCommunication);

    /**
     * 删除沟通记录
     *
     * @param id 沟通记录主键
     * @return 结果
     */
    public int deleteEduCommunicationById(Long id);

    /**
     * 批量删除沟通记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEduCommunicationByIds(Long[] ids);

    public List<EduCommunication> selectEduCommunicationList_handteacher(String teacherId);
}
